package me.fung.wubi.worker.builder

import me.fung.wubi.base.define.table.CodeTable

abstract class BaseTableBuilder : TableBuilder<FileResources> {

    override fun build(resource: FileResources, buildConfig: BuildConfig): CodeTable {
        return build(FileResourcesLoader.load(resource), buildConfig)
    }

    protected abstract fun build(content: FileResources.Content, buildConfig: BuildConfig): CodeTable
}